<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\Models\CarModels\EquipmentTaskKind;
use App\User;
use Illuminate\Support\Str;
use Faker\Generator as Faker;

/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generate new
| model instances for testing / seeding your application's database.
|
*/


$factory->define(App\Models\CarModels\EquipmentTaskRecord::class, function (Faker $faker) {
    return [
        'summary' => $faker->sentence(1),
        'task_time'=>$faker->dateTime,
        'detail'=>$faker->sentence(1),
        'staff_id'=>$faker->numberBetween(1,10),
        'tools'=>$faker->sentence(1),
        'task_kind_detail_id'=>$faker->numberBetween(1,10),
        'finish_time'=>$faker->dateTime,
        'status_id'=>$faker->numberBetween(1,4),
        'is_tmp'=>$faker->boolean,
    ];
});
